/*
 * @Description: file content
 * @Author: oooh
 * @Date: 2024-04-18 17:22:54
 * @LastEditors: oooh
 * @LastEditTime: 2024-05-22 11:17:36
 * @FilePath: \Civil_Servant_Performance_PC\src\api\workbench\index.js
 */
import request from '@/utils/request'

// 查询
export function list(query) {
  return request({
    url: '/api/workbenches',
    method: 'get',
    params: query
  })
}

// 绩效办工作办理查询
export function listPerformanceOffices(query) {
  return request({
    url: '/api/workbenches/performanceOffices',
    method: 'get',
    params: query
  })
}

// 纪检办工作办理查询
export function listDisciplineOffices(query) {
  return request({
    url: '/api/workbenches/disciplineOffices',
    method: 'get',
    params: query
  })
}

// 个人工作办理查询
export function listPersonal(query) {
  return request({
    url: '/api/workbenches/personals',
    method: 'get',
    params: query
  })
}

// 党政领导/分管领导工作办理查询
export function listLeaders(query) {
  return request({
    url: '/api/workbenches/leaders',
    method: 'get',
    params: query
  })
}

// 党政领导/分管领导干部工作办理查询
export function listLeadersCadres(query) {
  return request({
    url: '/api/workbenches/leaders/cadres',
    method: 'get',
    params: query
  })
}
